package com.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.blog.bean.Share;

/**
 * @className: IShareDao
 * @description: 
 * @author: HCl
 * @createTime: 2020年5月26日 下午8:24:44
 */
@Repository

@Mapper
public interface IShareDao {
	
	public Share selectShareById(Integer id);
	
	public List<Share> selectAllShareByUserId(Integer userid);
	
	public int addShare(Share share);
	
	public int updateShare(Share share);
	
	public int deleteShare(Integer id);
	

}
